package com.interview.item.javabase.a20200817;

import java.util.concurrent.ThreadPoolExecutor;

/**
 * @Author:zxh
 * @Description:
 * @Date: 2020/8/17
 * @Modified By:
 */
public class One {
    public static void main(String[] args) {
        boolean b = (8 & 0) != 0;
        int i = 8 & 2;
        System.out.println("输出："+i+": "+b);
        //new ThreadPoolExecutor()
        String string = null;
        boolean result = (string +"welcome").equals("welcome");
        System.out.println(result);

        String str1 = "welcome";
        String str2 = "welcome";
        System.out.println(str1 == str2);

        Integer int1 = 1;
        Integer int2 = 1;
        System.out.println(int1 == int2);

        int middle = (int) (9.6f / 2);
        System.out.println("输出："+middle);
    }
}
